package 课程设计报告_hb_7_6;

/**
 * @author Jiang Zhiyan
 *
 * 2021年7月6日 上午11:33:43
 *
 */
public class User {
   private String id;
   private String username;
   private String pwd;
   
   @Override 
   public String toString() {
	   return id + ":" + username + ":" + pwd;
   }
/**
 * @return the id
 */
public String getId() {
	return id;
}
/**
 * @param id the id to set
 */
public void setId(String id) {
	this.id = id;
}
/**
 * @return the username
 */
public String getUsername() {
	return username;
}
/**
 * @param username the username to set
 */
public void setUsername(String username) {
	this.username = username;
}
/**
 * @return the pwd
 */
public String getPwd() {
	return pwd;
}
/**
 * @param pwd the pwd to set
 */
public void setPwd(String pwd) {
	this.pwd = pwd;
}
/**
 * @param id
 * @param username
 * @param pwd
 */

public User(String username, String pwd) {
	super();
	this.username = username;
	this.pwd = pwd;
}
public User(String id, String username, String pwd) {
	super();
	this.id = id;
	this.username = username;
	this.pwd = pwd;
}
   
}
